function [y] = majvote(Y, Omega)
% Y [L N]

Y = Y.*Omega;

y = sum(Y, 1);
y = y./sum(Omega, 1);

y(isnan(y)) = 0;
y(isinf(y)) = 0;

end